<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String userName = (String)request.getSession().getAttribute("uName");
	String quyen = (String)request.getSession().getAttribute("role");
	String url = (String) request.getSession().getAttribute("url");
%>
<aside class="left-side sidebar-offcanvas">
                <!-- sidebar: style can be found in sidebar.less -->
                <section class="sidebar">
                    <!-- Sidebar user panel -->
                    <div class="user-panel">
                        <div class="pull-left image">
                            <img src="img/user.jpg" class="img-circle" alt="User Image" />
                        </div>
                        <div class="pull-left info">
                            <p>Xin chào, <%=userName %>!</p>

                            <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
                        </div>
                    </div>
                    <!-- search form -->
                    <form action="#" method="get" class="sidebar-form">
                        <div class="input-group">
                            <input type="text" name="searchtxt" class="form-control" placeholder="Tìm kiếm"/>
                            <span class="input-group-btn">
                                <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
                            </span>
                        </div>
                    </form>
                    <!-- /.search form -->
                    <!-- sidebar menu: : style can be found in sidebar.less -->
                    
                    <ul class="sidebar-menu"> 
                    	<li class="active">
                            <a href="index.jsp">
                                <i class="fa fa-th"></i> <span>Trang chủ</span> <small class="badge pull-right bg-green">Home</small>
                            </a>
                        </li>                     
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-home"></i> <span>Quản lý phòng ban</span>
                                <i class="fa fa-arrow-circle-down pull-right"></i>
                            </a>
                             <ul class="treeview-menu">                               
                                <li><a href="CoquanServlet?dsCoquan"><i class="fa fa-arrow-circle-right"></i>Danh sách phòng ban</a></li>
                                <li><a href="form_cqdieutra.jsp"><i class="fa fa-arrow-circle-right"></i>Thêm mới</a></li>                                                              
                            </ul>
                        </li>                  
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-users"></i> <span>Quản lý cán bộ</span>
                                <i class="fa fa-arrow-circle-down pull-right"></i>
                            </a>
                             <ul class="treeview-menu">                               
                                <li><a href="CanBoServlet?dsCanbo"><i class="fa fa-arrow-circle-right"></i>Danh sách cán bộ</a></li>
                                <li><a href="CanBoServlet?new"><i class="fa fa-arrow-circle-right"></i>Thêm mới cán bộ</a></li>
                                <li><a href="ChucvuServlet?dsChucvu"><i class="fa fa-arrow-circle-right"></i>Danh sách chức vụ</a></li>
                                <li><a href="form_chucvu.jsp"><i class="fa fa-arrow-circle-right"></i>Thêm mới chức vụ</a></li>                                
                            </ul>
                        </li> 
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-envelope"></i> <span>Quản lý tin báo</span>
                                <i class="fa fa-arrow-circle-down pull-right"></i>
                            </a>
                             <ul class="treeview-menu">                               
                                <li><a href="TinBaoServlet?dsTinbao"><i class="fa fa-arrow-circle-right"></i>Danh sách tin báo</a></li>
                                <li><a href="TinBaoServlet?them_ds"><i class="fa fa-arrow-circle-right"></i>Thêm mới</a></li>                                                              
                            </ul>
                        </li>  
                         <li class="treeview">
                            <a href="#">
                                <i class="fa fa-suitcase"></i> <span>Quản lý vụ án</span>
                                <i class="fa fa-arrow-circle-down pull-right"></i>
                            </a>
                             <ul class="treeview-menu">
                                <li><a href="ChuyenAnServlet?dsChuyenan"><i class="fa fa-arrow-circle-right"></i>Danh sách chuyên án</a></li>
                                <li><a href="form_chuyenan.jsp"><i class="fa fa-arrow-circle-right"></i>Thêm mới chuyên án</a></li>                                 
                                <li><a href="VuAnServlet?dsVuAn"><i class="fa fa-arrow-circle-right"></i>Danh sách vụ án</a></li>
                                <li><a href="VuAnServlet?new"><i class="fa fa-arrow-circle-right"></i>Thêm mới vụ án</a></li>                                                              
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-suitcase"></i> <span>Quản lý chuyên đề</span>
                                <i class="fa fa-arrow-circle-down pull-right"></i>
                            </a>
                             <ul class="treeview-menu">                               
                                <li><a href="ChuyenDeServlet?dsChuyende"><i class="fa fa-arrow-circle-right"></i>Danh sách chuyền đề</a></li>
                                <li><a href="ChuyenDeServlet"><i class="fa fa-arrow-circle-right"></i>Thêm mới</a></li>                                                              
                            </ul>
                        </li>
                                                      
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-calendar"></i> <span>Quản lý lịch</span>
                                <i class="fa fa-arrow-circle-down pull-right"></i>
                            </a>
                             <ul class="treeview-menu">                               
                                <li><a href="CalendarServlet?calendar"><i class="fa fa-arrow-circle-right"></i>Lịch thủ trưởng</a></li>                                
                                <li><a href="CalendarServlet?listcalendar"><i class="fa fa-arrow-circle-right"></i>Danh sách lịch</a></li>
                                <li><a href="calendar_new.jsp"><i class="fa fa-arrow-circle-right"></i>Thêm mới</a></li>                                                        
                            </ul>
                        </li>   
                                                   
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-folder"></i> <span>Chức năng</span>
                                <i class="fa fa-arrow-circle-down pull-right"></i>
                            </a>
                            <ul class="treeview-menu">                              
                                <li><a href="register.jsp"><i class="fa fa-arrow-circle-right"></i> Đăng kí tài khoản</a></li>
                                <li><a href="lockscreen.jsp"><i class="fa fa-arrow-circle-right"></i> Khóa màn hình</a></li>
                                <li><a href="DangNhapServlet?action=logout&page=admin"><i class="fa fa-arrow-circle-right"></i> Đăng xuất</a></li>                          
                            </ul>
                        </li>
                    </ul>           
                </section>
                <!-- /.sidebar -->
            </aside>